package com.letcoding.easyExcel.entity.write;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

/**
 * @ClassName SimpleWriteEntity
 * @Description Excel简单写实体类
 * @Author will
 * @Date 2021/5/29 21:58
 */
@Getter
@Setter
@ToString
public class SimpleWriteEntity {
    @ExcelProperty("字符串标题")
    private String title;
    @ExcelProperty("日期标题")
    private Date dateTitle;
    @ExcelProperty("数字标题")
    private Double numberTitle;
    /**
     * 忽略这个字段
     */
    @ExcelIgnore
    private String ignoreFiled;
}
